<style>
    .layui-form {
        position: relative;
    }
    
    .btn-one .layui-field-title {
        width: 800px;
        margin-left: -20px;
    }
    
    .btn-two {
        position: absolute;
        margin: 650px 0px 0px 0px;
    }
    
    .btn-two .layui-field-title {
        width: 800px;
        margin-left: -20px;
    }
    
    .btn-three {
        position: absolute;
        margin: 750px 0px 0px 0px;
    }
    
    .btn-three .layui-field-title {
        width: 800px;
        margin-left: -20px;
    }
    
    .btn-four {
        position: absolute;
        margin: 850px 0px 0px 0px;
    }
    
    .btn-four .layui-field-title {
        width: 800px;
        margin-left: -20px;
    }
    
    .hidden {
        display: none;
    }
</style>
<div class="layui-form" lay-filter="layuiadmin-form-admin" style="padding: 20px 30px 0 0;">

    <div class="layui-form-item">
        <label class="layui-form-label">留言内容</label>
        <div class="layui-input-inline">
            <script type="text/html" template>
                <input type="text" name="messageContent" value="{{ d.params.messageContent || '' }}" lay-verify="messageContent" autocomplete="off" class="layui-input">
            </script>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">姓名</label>
        <div class="layui-input-inline">
            <script type="text/html" template>
                <input type="text" name="name" value="{{ d.params.name || '' }}" lay-verify="name" autocomplete="off" class="layui-input">
            </script>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">联系电话</label>
        <div class="layui-input-inline">
            <script type="text/html" template>
                <input type="tel" name="phoneNum" value="{{ d.params.phoneNum || '' }}" lay-verify="phoneNum" autocomplete="off" class="layui-input">
            </script>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">企业名称</label>
        <div class="layui-input-inline">
            <script type="text/html" template>
                <input type="tel" name="enterpriseName" value="{{ d.params.enterpriseName || '' }}" lay-verify="enterpriseName" autocomplete="off" class="layui-input">
                </select>
            </script>
        </div>
    </div>

    <div class="layui-form-item">
        <div class="layui-inline">
            <label class="layui-form-label">邮箱</label>
            <div class="layui-input-inline" style="width: 100px;">
                <script type="text/html" template>
                    <input type="email" name="email" value="{{ d.params.email || '' }}" lay-verify="email" autocomplete="off" class="layui-input">
                </script>
            </div>
        </div>
    </div>
    <div class="layui-form-item">
        <div class="layui-inline">
            <label class="layui-form-label">留言时间</label>
            <div class="layui-input-inline">
                <script type="text/html" template>
                    <input type="text" name="time" value="{{ d.params.time || '' }}" id="date" lay-verify="time" placeholder="yyyy-MM-dd" autocomplete="off" class="layui-input">
                </script>
            </div>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">是否阅读</label>
        <div class="layui-input-block">
            <script type="text/html" template>
                <input type="checkbox" name="viewStatus" {{ d.params.viewStatus==1? 'checked': ''}} lay-verify="viewStatus" title="已阅读">
            </script>
        </div>
    </div>
    <div class="layui-form-item">
        <label class="layui-form-label">是否处理</label>
        <div class="layui-input-block">
            <script type="text/html" template>
                <input type="checkbox" name="processStatus" {{ d.params.processStatus==1? 'checked': ''}} lay-verify="processStatus" title="已处理">
            </script>
        </div>
    </div>
    <div class="btn-five" style="margin-left: 110px;">
        <div class="layui-input-inline">
            <input type="button" id="okbtn" lay-submit lay-filter="LAY-user-front-submit" value="确认" class="layui-btn" style="margin-bottom: 30px;">
        </div>
    </div>
</div>